var e = require;
var t = module;
var o = exports;
var n = o;
Object.defineProperty(n, "__esModule", {value: !0});
var i = (function () {
    function e() {
        this.room = null;
    }
    return (
        Object.defineProperty(e.prototype, "selfID", {
            get: function () {
                return MGOBE.Player.id;
            },
            enumerable: !1,
            configurable: !0
        }),
        Object.defineProperty(e.prototype, "ownerID", {
            get: function () {
                return this.room.roomInfo.owner;
            },
            enumerable: !1,
            configurable: !0
        }),
        Object.defineProperty(e.prototype, "roomID", {
            get: function () {
                return this.room.roomInfo.id;
            },
            enumerable: !1,
            configurable: !0
        }),
        Object.defineProperty(e.prototype, "playerList", {
            get: function () {
                return this.room.roomInfo.playerList;
            },
            enumerable: !1,
            configurable: !0
        }),
        (e.prototype.getPlayerByID = function (e) {
            for (var t = this.playerList, o = 0; o < t.length; o++) if (t[o].id === e) return t[o];
            return null;
        }),
        e
    );
})();
n.default = i;
